﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using Data;

namespace Business
{
  public  class BaoCaoCongNoService
    {
      public static List<BaoCaoCongNoDTO> GetAllBaoCaoCongNo()
      {
          return BaoCaoCongNoRepository.GetAllBaoCaoCongNo();
      }
      public void Insert(BaoCaoCongNoDTO baocaocongnoDTO)
      {
          BaoCaoCongNoRepository baocaocongnoRepository = new BaoCaoCongNoRepository();
          baocaocongnoRepository.Insert(baocaocongnoDTO);

      }
      public void Update(BaoCaoCongNoDTO baocaocongnoDTO)
      {
          BaoCaoCongNoRepository baocaocongnoRepository = new BaoCaoCongNoRepository();
          baocaocongnoRepository.Update(baocaocongnoDTO);

      }
    }
}
